package ui;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class LoadingMessagePanel extends JPanel {
	public LoadingMessagePanel(String message) {
		super();
		this.setPreferredSize(new Dimension(400,350));
		this.setLayout(new BorderLayout());
		this.add(new JLabel("<html><h1>"+message+"</h1></html>", JLabel.CENTER), BorderLayout.NORTH);
	}
}
